package com.algorithms.graphs;

public class Vertex {
	private char label;
	private boolean wasVisited;
	
	public char getLabel() {
		return label;
	}
	public void setLabel(char label) {
		this.label = label;
	}
	
	public boolean wasVisited() {
		return wasVisited;
	}
	public void setWasVisited(boolean wasVisited) {
		this.wasVisited = wasVisited;
	}
	
	public Vertex(char label){
		this.label = label;
		this.wasVisited = false;
	}
	
	public Vertex(char label, boolean wasVisited){
		this.label = label;
		this.wasVisited = wasVisited;
	}
}
